@font-face {
  font-family: "Sans";
  src: url("OpenSans-Light.ttf");
}
@font-face {
  font-family: "SansBold";
  src: url("OpenSans-Semibold.ttf");
}
* {
  margin: 0;
  padding: 0;
  border: 0;
  outline: 0;
  font-size: 100%;
  vertical-align: baseline;
  font-family: Sans, Arial, Helvetica, sans-serif;
}
body {
  background-image: url("../img/stripes_bg.png");
}
#wrapper_content {
  background-color: #fff;
  border-bottom-left-radius: 20px;
  border-bottom-right-radius: 20px;
  border: 1px #999 solid;
  border-top: none;
  box-shadow: 0 0 10px #000;
  margin: 0 auto;
  padding: 20px 20px 0 20px;
  width: 920px;
}
header {
  border-bottom: 1px #eef solid;
}
header #wrapper_header {
  border-bottom: 1px #000 solid;
  padding-bottom: 20px;
}
header #wrapper_header #wrapper_logo {
  display: inline-block;
  text-shadow: 1px 1px #999;
}
header #wrapper_header #wrapper_logo #logo {
  font-size: 30px;
  font-family: SansBold, Arial, Helvetica, sans-serif;
}
header #wrapper_user_info {
  display: inline-block;
  display: none;
  float: right;
  text-align: right;
}
header #wrapper_user_info #button_logout {
  margin-right: 0 !important;
}
header #wrapper_user_info #logged_as {
  font-size: 20px;
}
footer {
  font-size: 12px;
  margin: 20px auto 20px auto;
  text-align: center;
  width: 960px;
}
footer a {
  font-size: 12px;
}
input {
  border-top: 2px #aaa solid;
  border-left: 2px #aaa solid;
  border-bottom: 2px #ddd solid;
  border-right: 2px #ddd solid;
  border-radius: 5px;
  margin-right: 20px;
  margin-bottom: 5px;
  padding: 3px 10px;
}
input:focus {
  outline: none;
  box-shadow: 0 0 10px #66f;
}
a:focus {
  outline: none;
  text-shadow: 0 0 10px #66f;
}
input[type="button"],
select {
  border-top: 2px #f6f6f6 solid;
  border-left: 2px #f6f6f6 solid;
  border-bottom: 2px #aaa solid;
  border-right: 2px #aaa solid;
  background-color: #eee;
}
input[type="button"]:hover {
  background-color: #ddd;
}
input[type="button"]:disabled,
input[type="button"]:disabled:hover {
  border-top: 2px #f6f6f6 solid;
  border-left: 2px #f6f6f6 solid;
  border-bottom: 2px #aaa solid;
  border-right: 2px #aaa solid;
  background-color: #eee;
}
input[type="button"]:active {
  border-top: 2px #999 solid;
  border-left: 2px #999 solid;
  border-bottom: 2px #eee solid;
  border-right: 2px #eee solid;
  background-color: #bbb;
}
input[type="file"] {
  border: none;
}
input.long {
  width: 440px;
}
textarea {
  border-top: 2px #999 solid;
  border-left: 2px #999 solid;
  border-bottom: 2px #eee solid;
  border-right: 2px #eee solid;
  resize: vertical;
  width: 100%;
}
#name,
#password {
  margin-right: 20px;
}
#subject_options_test_name,
#subject_options_test_deadline {
  width: 120px;
}
#login #form_login {
  margin: 20px 0 15px 0;
}
#subjects {
  display: none;
}
#subjects #table_subjects .subject,
#subjects #table_subjects .test,
#subjects #table_subjects .running,
#subjects #table_subjects .message {
  padding-left: 20px;
}
#subjects #table_subjects .row {
  border-bottom: 1px #000 solid;
  border-top: 1px #eef solid;
}
#subjects #table_subjects .row:first-child {
  border-top: none;
}
#subjects #table_subjects .row:last-child {
  border-bottom: none;
}
#subjects #table_subjects .cell {
  color: #666;
  display: inline-block;
  padding: 10px 20px;
  width: 180px;
}
#subjects #table_subjects .subject_row .cell:first-child {
  padding-left: 30px;
}
#subjects #table_subjects .table_header div,
#subjects #table_subjects .subject_header div,
#subjects #table_subjects .test_header div,
#subjects #table_subjects .running_header div {
  color: #000;
  font-family: SansBold, Arial, Helvetica, sans-serif;
}
#subjects #table_subjects .table_header div:nth-child(1),
#subjects #table_subjects .subject_row div:nth-child(1) {
  width: 200px;
}
#subjects #table_subjects .table_header div:nth-child(2),
#subjects #table_subjects .subject_row div:nth-child(2) {
  width: 100px;
}
#subjects #table_subjects .table_header div:nth-child(3),
#subjects #table_subjects .subject_row div:nth-child(3) {
  width: 100px;
}
#subjects #table_subjects .table_header div:nth-child(4),
#subjects #table_subjects .subject_row div:nth-child(4) {
  width: 350px;
}
#subjects #table_subjects .message_row .cell:nth-child(1),
#subjects #table_subjects .message_row .cell:nth-child(2) {
  width: 300px;
}
#subjects #table_subjects .message_row .cell:nth-child(1) b,
#subjects #table_subjects .message_row .cell:nth-child(2) b {
  color: #000;
}
#subjects #table_subjects .req_row .cell {
  color: #999;
}
#subjects #table_subjects .message_row .cell:last-child {
  padding-top: 0;
  width: 820px;
}
#subjects #table_subjects .subject_options,
#subjects #table_subjects .test_options,
#subjects #table_subjects .running_options,
#subjects #table_subjects .message_options {
  border-bottom: 1px #000 solid;
  border-top: 1px #eef solid;
  padding: 5px 20px 0 20px;
}
#subjects #table_subjects .subject_row:hover,
#subjects #table_subjects .test_row:hover,
#subjects #table_subjects .running_row:hover {
  background-color: #eee;
  cursor: pointer;
}
#subjects .table_header .cell:hover {
  background-color: #eef;
  cursor: pointer;
}
#subjects .table_header .sorted_asc {
  background: url("../img/arrow-up-black.png") no-repeat 10px center;
  padding-left: 30px !important;
}
#subjects .table_header .sorted_desc {
  background: url("../img/arrow-down-black.png") no-repeat 10px center;
  padding-left: 30px !important;
}
.spinner {
  background: url("../img/ajax_spinner.gif") no-repeat center;
  display: inline-block;
  height: 32px;
  width: 32px;
  vertical-align: bottom;
}
.error {
  color: #f00;
  display: inline-block;
  font-size: 20px;
}
